/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package service.impl;

import eao.EaoLocal;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import model.entity.Customer;
import model.entity.Message;
import model.entity.Role;
import service.InterfaceServiceLocal;

/**
 *
 * @author dingnangen
 */
@Stateless

public class MessageManager extends AbstractService<Message> implements InterfaceServiceLocal<Message> {

    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
    @EJB(beanName = "MessageFacade")
    eao.EaoLocal<Message> messageFacade;

    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
    @Override
    protected EaoLocal getEao() {
        return messageFacade;
    }
}
